package hr.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 岗位调动日志
 * </p>
 *
 * @author zzh
 * @since 2023-12-16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("position_movement_log")
@ApiModel(value = "MovementLog对象", description = "岗位调动日志")
public class MovementLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("日志主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("员工姓名")
    private String name;

    @ApiModelProperty("原部门")
    private String fromDepartmentName;

    @ApiModelProperty("调动后部门")
    private String toDepartmentName;

    @ApiModelProperty("原岗位")
    private String fromPositionName;

    @ApiModelProperty("调动后岗位")
    private String toPositionName;

    @ApiModelProperty("调动时间")
    private Long movementDate;

    @ApiModelProperty("逻辑删除（0：存在，1：删除）")
    private Boolean idDeleted;

}
